﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000825 RID: 2085
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetShopListCsReq : IMessage<GetShopListCsReq>, IMessage, IEquatable<GetShopListCsReq>, IDeepCloneable<GetShopListCsReq>, IBufferMessage
	{
		// Token: 0x17001A6F RID: 6767
		// (get) Token: 0x06005D7A RID: 23930 RVA: 0x000FA2D8 File Offset: 0x000F84D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetShopListCsReq> Parser
		{
			get
			{
				return GetShopListCsReq._parser;
			}
		}

		// Token: 0x17001A70 RID: 6768
		// (get) Token: 0x06005D7B RID: 23931 RVA: 0x000FA2DF File Offset: 0x000F84DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetShopListCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001A71 RID: 6769
		// (get) Token: 0x06005D7C RID: 23932 RVA: 0x000FA2F1 File Offset: 0x000F84F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetShopListCsReq.Descriptor;
			}
		}

		// Token: 0x06005D7D RID: 23933 RVA: 0x000FA2F8 File Offset: 0x000F84F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetShopListCsReq()
		{
		}

		// Token: 0x06005D7E RID: 23934 RVA: 0x000FA300 File Offset: 0x000F8500
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetShopListCsReq(GetShopListCsReq other) : this()
		{
			this.shopType_ = other.shopType_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005D7F RID: 23935 RVA: 0x000FA325 File Offset: 0x000F8525
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetShopListCsReq Clone()
		{
			return new GetShopListCsReq(this);
		}

		// Token: 0x17001A72 RID: 6770
		// (get) Token: 0x06005D80 RID: 23936 RVA: 0x000FA32D File Offset: 0x000F852D
		// (set) Token: 0x06005D81 RID: 23937 RVA: 0x000FA335 File Offset: 0x000F8535
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ShopType
		{
			get
			{
				return this.shopType_;
			}
			set
			{
				this.shopType_ = value;
			}
		}

		// Token: 0x06005D82 RID: 23938 RVA: 0x000FA33E File Offset: 0x000F853E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetShopListCsReq);
		}

		// Token: 0x06005D83 RID: 23939 RVA: 0x000FA34C File Offset: 0x000F854C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetShopListCsReq other)
		{
			return other != null && (other == this || (this.ShopType == other.ShopType && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005D84 RID: 23940 RVA: 0x000FA37C File Offset: 0x000F857C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ShopType != 0U)
			{
				num ^= this.ShopType.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005D85 RID: 23941 RVA: 0x000FA3BB File Offset: 0x000F85BB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005D86 RID: 23942 RVA: 0x000FA3C3 File Offset: 0x000F85C3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005D87 RID: 23943 RVA: 0x000FA3CC File Offset: 0x000F85CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ShopType != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.ShopType);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005D88 RID: 23944 RVA: 0x000FA400 File Offset: 0x000F8600
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ShopType != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ShopType);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005D89 RID: 23945 RVA: 0x000FA43E File Offset: 0x000F863E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetShopListCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ShopType != 0U)
			{
				this.ShopType = other.ShopType;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005D8A RID: 23946 RVA: 0x000FA46F File Offset: 0x000F866F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005D8B RID: 23947 RVA: 0x000FA478 File Offset: 0x000F8678
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 120U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ShopType = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002416 RID: 9238
		private static readonly MessageParser<GetShopListCsReq> _parser = new MessageParser<GetShopListCsReq>(() => new GetShopListCsReq());

		// Token: 0x04002417 RID: 9239
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002418 RID: 9240
		public const int ShopTypeFieldNumber = 15;

		// Token: 0x04002419 RID: 9241
		private uint shopType_;
	}
}
